package cn.iocoder.yudao.module.artifact.controller.admin.info.vo;

import cn.iocoder.yudao.module.artifact.enums.DictTypeConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 文玩信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class InfoRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5836")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "双联壁")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "分类", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.ARTIFACT_CATEGORY)
    private Integer category;

    @Schema(description = "材质", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "材质", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.ARTIFACT_MATERIAL)
    private Integer material;

    @Schema(description = "重量")
    @ExcelProperty("重量")
    private Integer weight;

    @Schema(description = "长度")
    @ExcelProperty("长度")
    private BigDecimal length;

    @Schema(description = "宽度")
    @ExcelProperty("宽度")
    private BigDecimal width;

    @Schema(description = "高度")
    @ExcelProperty("高度")
    private BigDecimal height;

    @Schema(description = "年代")
    @ExcelProperty("年代")
    private Integer year;

    @Schema(description = "年代描述", example = "宋代")
    @ExcelProperty("年代描述")
    private String yearDescription;

    @Schema(description = "描述", example = "红山文化古玉")
    @ExcelProperty("描述")
    private String description;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}